package com.aracky.common.util.wxutil;

/**
 * @author zengzhiping
 * @ClassName: WxUrl
 * @Description: 微信url
 * @date 2021/11/8 16:53
 */
public class WxUrl {
    /**
     * 获取token的url
     */
    public static String ACCESS_TOKEN_URL = "https://qyapi.weixin.qq.com/cgi-bin/gettoken";
    /**
     * 发送消息URL
     */
    public static String SEND_URL = "https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=";

    /**
     * 获取微信免登码URL
     */
    public static String WX_CODE = "https://open.weixin.qq.com/connect/oauth2/authorize";

    /**
     * 获取微信用户id
     */
    public static String WX_USER_ID = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo";

    /**
     * 获取子部门ID列表
     */
    public static String DEPTMENT_ID_URL = "https://qyapi.weixin.qq.com/cgi-bin/department/simplelist";

    /**
     * 获取单个部门详情
     */
    public static String DEPTMENT_DETAIL_URL = "https://qyapi.weixin.qq.com/cgi-bin/department/get";


    /**
     * 获取部门成员详情
     */
    public static String DEPTMENT_USER_DETAIL_URL = "https://qyapi.weixin.qq.com/cgi-bin/user/list";
}
